# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=qtdbusextended
pkgver=0.0.3
pkgrel=1
pkgdesc="Extended DBus for Qt"
arch=('loong64' 'x86_64')
url="https://github.com/nemomobile/qtdbusextended"
license=('LGPL')
depends=('qt5-base')
makedepends=('qt5-tools')
source=("https://github.com/nemomobile/qtdbusextended/archive/$pkgver/qtdbusextended-$pkgver.tar.gz")
sha512sums=('76d962a7f8c31fc46875095a51dca39c3fcea1d4f3a26ac3f451a6a3bd15f480231786ad8756d5d19c10a3cae594926d426ee0c7697d28183f328733243af3d6')

build() {
  cd qtdbusextended-$pkgver
  qmake-qt5
  make
}

package() {
  cd qtdbusextended-$pkgver
  make INSTALL_ROOT="$pkgdir" install
}
